package news.service;

import news.dao.MainNewsPageListDao;
import news.dao.MainNewsPageListDaoImpl;
import news.util.PageBean;

import java.util.List;

public class MainPageNewsServiceImpl implements IMainPageNewsService{
    private MainNewsPageListDao mainNewsPageListDao = new MainNewsPageListDaoImpl();
    @Override
    public PageBean getNewsPublishPageList(PageBean pageBean) {

        return mainNewsPageListDao.getNewsPublishPageList(pageBean);
    }
}
